<?php
	include_once('../../includes/fk_php/Connections/connection.php');
	$lenguaje = 'es';
	$con = "CALL SP_PAISES";
	$Resul	= $connection->query($con);
	$total = $Resul->field_count;
	//$response->total=$total;
	//$response->succes=true;
	$i=0;
		
	while($Info	= $Resul->fetch_row()){
		$iden	=	htmlentities($Info[0]);
		$nom	=	utf8_encode($Info[1]);
		$response->data[$i]=array('Idmenu'=>$iden,'Nombremenu'=>$nom); $i++;
	}
	
	echo json_encode($response);
	
?>

